From: Juanma Barranquero Date: Fri, 26 Jul 2002 07:08:58 +0000 (+0000) Subject: (lwarn, warn): Doc fix. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~31358 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=25e30edf045987308fc83063096e1b6dd0792799;p=emacs.git (lwarn, warn): Doc fix. --- diff --git a/lisp/warnings.el b/lisp/warnings.el index 054dc4d65ac..9f202fd24a3 100644 --- a/lisp/warnings.el +++ b/lisp/warnings.el @@ -249,7 +249,7 @@ See also `warning-series', `warning-prefix-function' and (defun lwarn (group level message &rest args) "Display a warning message made from (format MESSAGE ARGS...). Aside from generating the message with `format', -this is equivalent to `display-message'. +this is equivalent to `display-warning'. GROUP should be a custom group name (a symbol). or else a list of symbols whose first element is a custom group name. @@ -267,7 +267,7 @@ LEVEL should be either :warning, :error, or :emergency. (defun warn (message &rest args) "Display a warning message made from (format MESSAGE ARGS...). Aside from generating the message with `format', -this is equivalent to `display-message', using +this is equivalent to `display-warning', using `emacs' as the group and `:warning' as the level." (display-warning 'emacs (apply 'format message args)))